Skip to content

Rescue: switch a looping Watch 3 Pro to a stock face over the shell - #111

Merged
freethinkel merged 1 commit into
mainfrom
rescue-shell-escape
Nov 21, 2026
Merged

freethinkel merged 1 commit into
mainfrom
rescue-shell-escape

Conversation

@freethinkel

Copy link
Copy Markdown
Collaborator

A new button on /rescue for a Watch 3 Pro stuck restarting on a face. It needs no key and wipes nothing.

  • The shell characteristic (77d4ff01) runs the full Zephyr shell with no auth. It opens ~200 ms into a link, and a looping watch faults ~100 ms after that.
  • The face list lives in RAM that survives the crash reboot: WfmPara_Load reads it at 0x3800f73a on fw 1.0.1.77. Watch.shellBlast streams dbg mwb 0x3800f73a 0 every 15 ms for 1 s, which breaks the list's magic. The next boot rebuilds the list from the stock faces alone (WFM _REST). The bad face's file stays on the watch.
  • Success means the shell answers AT GETVERSION. A watch past its fault keeps the link for seconds but answers nothing, so a link that stays up proves nothing.
  • The button works only on a Watch 3 Pro, matched by its advertised name.

Tested in the emulator end to end. The real page ran in Chromium with navigator.bluetooth bridged to the emulated watch (30–50 ms connection interval). The write got in on the watch's second boot, the third boot loaded stock face 274, the page reported success, and the watch did not fault again. Also added tests/ble-shell-blast.test.ts; the full suite passes.

Not confirmed on real hardware: whether that RAM survives a real watchdog reset, and Chrome's own connect/discovery timing.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CQSU8PSWDYpGNxzMYKE2JL

The shell characteristic takes the full Zephyr shell with no auth, and it opens
~200 ms into a link, ~100 ms before a looping watch faults. The face list lives
in RAM that outlives the crash reboot (WfmPara_Load reads it at 0x3800f73a on fw
1.0.1.77), so streaming `dbg mwb 0x3800f73a 0` breaks its magic and the next
boot rebuilds the list from the stock faces alone (WFM _REST). The page then
asks the shell its version: only a watch that stopped looping answers.

Checked end to end in the emulator: the /rescue page in Chromium, with
navigator.bluetooth bridged to the emulated watch, got the write in on its
second boot, the third boot loaded stock face 274 and the shell answered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CQSU8PSWDYpGNxzMYKE2JL
@freethinkel
freethinkel merged commit 9890d8c into main Nov 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant